<!-- 新增修改部门管理 -->
<template>
    <div class="awardInfo">
        <el-dialog :title="title" :visible.sync="dialogVisible" :close-on-click-modal="false" width="60%" center
            top="5vh" @close="close">
            <div class="table-top">基本信息</div>
            <div class="table-main">
                <el-descriptions :column='2' border size="small" :labelStyle="{ width: '150px' }"
                    :contentStyle="{ width: '600px' }">
                    <el-descriptions-item label="部门名称">{{ form.dictNameResult.appliPropCode }}</el-descriptions-item>
                    <el-descriptions-item label="上级机构部门">{{ form.dictNameResult.appliPropCode }}</el-descriptions-item>
                    <el-descriptions-item label="部门所属地区">{{ form.dictNameResult.appliPropCode }}</el-descriptions-item>
                    <el-descriptions-item label="部门状态">{{ form.dictNameResult.appliPropCode }}</el-descriptions-item>
                    <el-descriptions-item label="营业部地址">{{ form.dictNameResult.appliPropCode }}</el-descriptions-item>
                    <el-descriptions-item label="部门级别">{{ form.dictNameResult.appliPropCode }}</el-descriptions-item>
                    <el-descriptions-item label="部门备注描述">{{ form.dictNameResult.appliPropCode }}</el-descriptions-item>
                </el-descriptions>
            </div>
            <span slot="footer" class="dialog-footer">
                <el-button v-blur class="botton reset" @click="close">关 闭</el-button>
                <el-button v-blur class="botton added" @click="submit" :loading="loading">保存</el-button>
            </span>
        </el-dialog>
    </div>
</template>

<script>
// import api from '@/api/memberSubmission/memInformation.js'
export default {
    name: 'newlybusSystem',
    data() {
        return {
            title: '',
            loading: false,
            dialogVisible: false,
            options: [],
            form: {
                dictNameResult: { appliPropCode: '11111' }
            },
            form1: {
                remindType: '',
                content: '',
            },
            rules: {
                deptName: [{
                    message: '请输入班组名称',
                    required: true,
                    trigger: 'blur'
                }],
            },
        }
    },
    mounted() {

    },
    methods: {
        handleChange(value, direction, movedKeys) {

        },
        close() {
            this.dialogVisible = false;
            // this.loading = false;
            // this.loading1 = false;
            // this.form = {
            //     message: '',//意见
            //     infsubAuditStatusCode: '',//审核状态
            //     memArchivesNos: '',//要审核的id
            // };
            // this.form1 = {
            //     remindType: '',
            //     content: '',
            // };
        },
        show(r, s) {
            this.dialogVisible = true;
            this.title = r
        },
        async submit() {
            if (!await this.$FormCheck('form')) {
                this.$message.error("请您认真填写内容")
                return;
            }
            this.loading = true;
            // api.memberArchivesHandleAudit({ ...this.form, ...this.form1 }).then(res => {
            //     if (res.data && res.data.code == 200) {
            //         this.loading = false;
            //         this.$message.success('审核成功');
            //         this.close();
            //         if (this.$parent.getList) {// 在列表审核
            //             this.$parent.getList();
            //         } else {//在详情审核
            //             this.$router.back();
            //             sessionStorage.setItem('isBack', 'true');//为提交成功刷新审核列表
            //         }
            //     } else {
            //         this.$message.error("审核失败")
            //         this.loading = false;
            //     }
            // })
        },
    }
}
</script>

<style scoped lang='scss'>
.btndiv {
    margin-top: 25px;
    height: 60px;
    text-align: center
}

.el-col {
    border-radius: 4px;
}

/deep/.el-form-item__error {
    display: block;
    line-height: 10px;
}

/deep/.el-form-item__label {
    line-height: 40px;
}

/deep/.el-col {
    margin-bottom: 15px;
}
</style>
